home *** CD-ROM | disk | FTP | other *** search
- /*******************************************************/
- /* NextError.ttx - TurboText macro to search for the */
- /* errors in the source ARexx file. It assumes that */
- /* the error file is VD0:errors. If you change the */
- /* path or error file name in the RxPCompile.ttx macro */
- /* then be sure to change this macro as well. */
- /* */
- /* Steven D. Kapplin - 9/9/91 */
- /*******************************************************/
-
- TRACE OFF
-
- OPTIONS RESULTS
-
- fpos = getclip('FilePos')
-
- CALL open(f,'vd0:errors','r')
- CALL seek(f,fpos,'b')
- err = readln(f)
-
- CALL seek(f,0,'c')
- CALL setclip('FilePos',fpos)
- CALL close(f)
-
- PARSE VAR err code ':' line ':' col ':' errmsg
-
- Move line col
- CenterView TOGGLE
- SetStatusBar errmsg
-